package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.place;

import com.gzhryc.common.api.SecurityRequest;
import com.gzhryc.common.data.annotation.Valid;

import java.io.Serializable;

public class PlacePhysicalStoreAddressSaveRequest extends SecurityRequest<PlacePhysicalStoreAddressSaveRequest.Body> {

    public PlacePhysicalStoreAddressSaveRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private Long placeId;
        @Valid(notNull = true,name = "省")
        private String province;
        @Valid(notNull = true,name = "市")
        private String city;
        @Valid(notNull = true,name = "区/县")
        private String cityArea;
        private String areaCode;
        private String receiveName;
        private String receivePhone;
        private String mailAddress;

        public Long getPlaceId() {
            return placeId;
        }

        public void setPlaceId(Long placeId) {
            this.placeId = placeId;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCityArea() {
            return cityArea;
        }

        public void setCityArea(String cityArea) {
            this.cityArea = cityArea;
        }

        public String getAreaCode() {
            return areaCode;
        }

        public void setAreaCode(String areaCode) {
            this.areaCode = areaCode;
        }

        public String getReceiveName() {
            return receiveName;
        }

        public void setReceiveName(String receiveName) {
            this.receiveName = receiveName;
        }

        public String getReceivePhone() {
            return receivePhone;
        }

        public void setReceivePhone(String receivePhone) {
            this.receivePhone = receivePhone;
        }

        public String getMailAddress() {
            return mailAddress;
        }

        public void setMailAddress(String mailAddress) {
            this.mailAddress = mailAddress;
        }
    }
}
